package com.bill.common.business.service;

import java.io.File;

import com.bill.common.business.dto.CurrentSaleDTO;
import com.bill.common.business.dto.MatchDTO;
import com.bill.common.business.dto.MatchQueryDTO;
import com.sinba.common.dto.PageDTO;

public interface IMatchService {
	/**
	 * 开始匹配
	 * @return
	 */
	String satrtMatch();
	
	String satrtMatchByGuPiao();
	
	PageDTO findMatchPage(MatchQueryDTO queryDTO, String sord, String sidx);
	/**
	 * 汇款确认
	 * @return
	 */
	String payment(MatchDTO matchDTO,File file,String filename,String pathname);
	
	/**
	 * 确认收款
	 * @return
	 */
	String confirmPay(MatchDTO matchDTO);
	
	MatchDTO findById(Long id);

	void checkCompute();
	
	void cleanMatch(Long matchId);
	
	String notReceive(Long matchId);
	
	void autoCheck();
	String sellSplit();
	
	
	CurrentSaleDTO getCurrentSale();
}
